home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
clipper
/
nannws24.zip
/
ESC_ALT.PRG
< prev
next >
Wrap
Text File
|
1988-05-18
|
771b
|
30 lines
* Program: ESC_ALT.PRG
* Author: Steve Hillbourne
* Version: Clipper Summer '87
* Notes: Alter "ABORT Y/N" message when ESCAPE is hit during
* MEMOEDIT().
* Copyright (c) 1988 Nantucket Corp.
*
CLEAR
USE file
memo = " "
MEMOEDIT(memo,2,0,5,35,.T.,"ufunc")
modified = (LASTKEY() <> 27)
IF modified && Check if updated
REPLACE memofield WITH memo
ELSE
INKEY(2) && Pause then erase
@ 0,60 SAY SPACE(16) && message.
ENDIF
RETURN
FUNCTION ufunc
PARAMETERS stat,line,col && Three parameters passed.
IF LASTKEY() = 27 && If ESCAPE is hit, display
@ 0,60 SAY "MEMO NOT UPDATED" && message.
ENDIF
RETURN 0
* EOP: ESC_ALT.PRG